<template>
  <div class="detail-root" @click="goInfo">
    <div class="content-con">
      <div class="label-value-con imp">
        <div class="label">保险人姓名：</div>
        <div class="value">{{ dataItem.bxrxm }}</div>
      </div>
      <div class="label-value-con">
        <div class="label">联系方式：</div>
        <div class="value">{{ dataItem.lxfs }}</div>
      </div>
      <div class="label-value-con">
        <div class="label">总保险费：</div>
        <div class="value">{{ dataItem.zbxf }}</div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: "detailItem",
  props: {
    dataItem: {
      type: Object
    }
  },
  methods: {
    goInfo() {
      this.$emit('goInfo', this.dataItem)
    }
  }
}
</script>

<style lang="scss" scoped>
.detail-root {
  width: 100%;
  box-sizing: border-box;
  padding: 0 16px;
  background: #fff;
  cursor: pointer;

  .content-con {
    width: 100%;
    border-bottom: 1px solid rgba(220, 223, 230, 1);
    padding: 15px 0;
    box-sizing: border-box;
  }
}
</style>
